import request from '@/utils/request'

export function updateInfo(reqObj) {
  reqObj['flag'] = 1;
  return request.post('/home/postUserInfo',reqObj)
}

export function updatePwd(reqObj) {
  reqObj['flag'] = 2;
  return request.post('/home/postUserInfo',reqObj)
}

export function getStatistic(id) {
  return request.get('/home/getStatistics?orgId='+id)
}
